<div class="container">
    <div class="panel dux-box">
        <div class="panel-head">{$name}板块</div>
        <form method="post" class="form-x  form-auto" action="{url()}">
            <div class="panel-body">
                <div class="form-group">
                    <div class="label">上级板块</div>
                    <div class="field">
                        <select class="input" name="parent_id">
                            <option value="0">==顶级板块==</option>
                            <!--loop{$list as $vo}-->
                            <!--if{$info['parent_id'] == $vo['plate_id']}-->
                            <option value="{$vo.class_id}" selected>
                                <!--{else}-->
                                <option value="{$vo.class_id}">
                                    <!--{/if}-->
                                    {$vo.cname}</option>
                                <!--{/loop}-->
                        </select>
                        <div class="input-note">建议板块深度不要超过2级，只有最下级板块才可发布且顶级板块不可发布帖子</div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">板块模型</div>
                    <div class="field">
                        <select class="input" name="app">
                            <!--loop{$modelList as $key => $vo}-->
                            <option value="{$key}">{$vo['name']}板块</option>
                            <!--{/loop}-->
                        </select>
                        <div class="input-note">系统安装的论坛模型</div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">板块名称</div>
                    <div class="field">
                        <input type="text" class="input" id="name" name="name" size="60" data-validate="required:必填" placeholder="请输入板块名称" value="{$info.name}">
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">板块顺序</div>
                    <div class="field">
                        <input type="number" class="input" id="sequence" name="sequence" data-validate="required:必填" value="{default_data($info['sequence'],1)}">

                    </div>
                </div>
                <div class="form-group">
                    <div class="label">板块关键词</div>
                    <div class="field">
                        <input type="text" class="input" id="keywords" name="keywords" size="60" placeholder="请输入板块关键词" value="{$info.keywords}">
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">板块描述</div>
                    <div class="field">
                        <textarea class="input" id="description" name="description" rows="3" cols="62" placeholder="请输入板块的简单描述">{$info.description}</textarea>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">版规</div>
                    <div class="field">
                        <textarea class="input" id="rules" name="rules" rows="3" cols="62" placeholder="请输入板块介绍或规则">{$info.rules}</textarea>
                    </div>
                </div>
            </div>
            <div class="panel-foot">
                <div class="form-button">
                    <div id="tips"></div>
                    <input type="hidden" name="plate_id" type="hidden" value="{$info.plate_id}">
                    <button class="button bg-main" type="submit">保存</button>
                    <button class="button bg" type="reset">重置</button>
                </div>
            </div>
        </form>
    </div>
    <br>
</div>